package com.geekjob1120.geekjob1120pay.service;

import com.geekjob1120.geekjob1120pay.modle.Pay;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ALIPAYPayService extends PayService{

    private boolean success;

    @Override
    protected boolean pay(Pay pay) {
        log.info("支付宝支付");
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
